﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ExaminationSys.DataAccess;
using Dapper;
using ExaminationSys.DataAccess.Repository;
using DapperExtensions;
using ExaminationSys.DataAccess.Entity;
using ExaminationSys.Helper;

namespace ExaminationSys
{
    public partial class About : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            MessageBoxHelper.ShowInfo("ww");
            Response.Write("wfwf");
            //ect..如果没有使用using调用db，则需要显示的dispose connection
            //using(var db=DataContent.DBServer())
            //{
            //    var predicate = Predicates.Field<Student>(f => f.ID, Operator.Eq, Guid.Empty);
            //    IUnitOfWork work = new UnitOfWork(db);
            //    work.News.Insert(null);
            //}
        }
    }
}
